package com.lanhu.designpattern.proxy.dynamicproxy.jdkproxy;

/**
 * @author 蓝狐
 */
public class Tenant implements Person{

    private String name;

    public Tenant (String name) {
        this.name = name;
    }

    public String getName () {
        return name;
    }

    public void setName (String name) {
        this.name = name;
    }

    @Override
    public void findWarehouse () {
        System.out.println(name + "我要找三室一厅的房子");
    }

    @Override
    public void payMoney (double money) {

    }
}
